package com.lagou.homework02;

/**
 * 用户消费信息类
 * 特征：统计通话时长、统计上网流量、每月消费金额
 */
public class UserConsumption {
    private int     sumCallTime;
    private int     sumNetTraffic;
    private double  sumMonthlyCost;

    public UserConsumption(int sumCallTime, int sumNetTraffic, double sumMonthlyCost) {
        setSumCallTime(sumCallTime);
        setSumNetTraffic(sumNetTraffic);
        setSumMonthlyCost(sumMonthlyCost);
    }

    public int getSumCallTime() {
        return sumCallTime;
    }

    public void setSumCallTime(int sumCallTime) {
        this.sumCallTime = sumCallTime;
    }

    public int getSumNetTraffic() {
        return sumNetTraffic;
    }

    public void setSumNetTraffic(int sumNetTraffic) {
        this.sumNetTraffic = sumNetTraffic;
    }

    public double getSumMonthlyCost() {
        return sumMonthlyCost;
    }

    public void setSumMonthlyCost(double sumMonthlyCost) {
        this.sumMonthlyCost = sumMonthlyCost;
    }
}
